--
-- Created by IntelliJ IDEA.
-- User: liuqing
-- Date: 2015/11/16
-- Time: 22:00
-- To change this template use File | Settings | File Templates.
--
local v=redis.call('get', KEYS[1]);
if v and v==ARGV[1]
then redis.call('del', KEYS[1]);return 1;
else return 0;
end


